package com.reins.bookstore.object;
import lombok.Data;

import java.util.LinkedList;
import java.util.List;

@Data
public class ThreeBooksOrder {
    private Integer userId;
    private List<OneBookList>  onebooklist = new LinkedList<>();
    public ThreeBooksOrder(){}
    public ThreeBooksOrder(Integer userId, List<OneBookList> onebooklist)
    {
        this.userId = userId;
        this.onebooklist = onebooklist;
    }

    public List<OneBookList> getOnebooklist() {
        return onebooklist;
    }

    public Integer getUserId() {
        return userId;
    }
}
